<script setup>
import { RouterLink, RouterView, useRoute } from 'vue-router'
import { computed } from 'vue'

const route = useRoute()
const isLoginPage = computed(() => route.name === 'login')
</script>

<template>
  <div class="app-container" :class="{ 'login-page': isLoginPage }">
    <RouterView />
  </div>
</template>

<style scoped>
.app-container:not(.login-page) {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.login-page {
  width: 100%;
  min-height: 100vh;
}
</style>
